package Test;

public class ServerImpl2 implements Service {
    public int printt(String msg) throws InterruptedException {
        Thread.currentThread().sleep(200);
        System.out.println("server 2 " + msg);
        Thread.currentThread().sleep(200);

        if (msg.equals("ok")) {
            return 3;
        }

        return 2;
    }
}


 
